package com.woniuxy.entity;

public class ResponseEntity<T> {
    private int code;
    private String status;
    private T t;

    public ResponseEntity() {
        this.code = 200;
        this.status = "OK";
    }

    public ResponseEntity(T t) {
        this.code = 200;
        this.status = "OK";
        this.t = t;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public T getT() {
        return t;
    }

    public void setT(T t) {
        this.t = t;
    }
}
